package com.ct.application.shipping.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ct.application.commons.vo.StatusRequest;
import com.ct.application.shipping.model.po.ChuanYuanKuSavePO;
import com.ct.application.shipping.model.po.ChuanYuanKuSearchPO;
import com.ct.application.shipping.model.vo.ChuanYuanKuVO;
import com.ct.repository.commons.IBaseService;
import com.ct.shipping.orm.ChuanYuanKuDO;

import javax.servlet.http.HttpServletRequest;
import java.io.InputStream;
import java.util.List;

/**
 * <p>
 * 船员库 服务类
 * </p>
 *
 * @author carlo
 */
public interface ChuanYuanKuService extends IBaseService<ChuanYuanKuDO> {

    List<ChuanYuanKuVO> findChuanYuanKuBiao();

    Page<ChuanYuanKuVO> findChuanYuanKu(ChuanYuanKuSearchPO searchPO);

    Page<ChuanYuanKuVO> findChuanYuanKuGroup(ChuanYuanKuSearchPO searchPO);

    ChuanYuanKuVO saveChuanYuanKu(ChuanYuanKuSavePO savePO);

    ChuanYuanKuVO getChuanYuanKu(Long id);

    ChuanYuanKuVO getChuanYuanKuByOpenid(String openid);

    ChuanYuanKuVO updateChuanYuanKu(ChuanYuanKuSavePO savePO);

    boolean delChuanYuanKu(Long id);

    boolean updateStatus(StatusRequest statusRequest);
}
